export const tableOption = {
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  searchMenuSpan: 6,
  column: [
    {
      type: 'input',
      label: '主键ID',
      prop: 'id',
      span: 12
    },
    {
      type: 'input',
      label: '创建人ID',
      prop: 'createId',
      span: 12
    },
    {
      type: 'input',
      label: '创建人姓名',
      prop: 'createBy',
      span: 12
    },
    {
      type: 'input',
      label:
        '状态：默认为0{0：草稿、1：处理中、2：已审批、3：已完成、4：作废}状态值根据父单的更新，已完成状态根据单项入库数量等于采购数量并且验收单完成后更新为已完成 ',
      prop: 'status',
      span: 12
    },
    {
      type: 'input',
      label: '父订单ID',
      prop: 'parentId',
      span: 12
    },
    {
      type: 'input',
      label: '父订单单号',
      prop: 'parentCaseid',
      span: 12
    },
    {
      type: 'input',
      label: '数据删除标记',
      prop: 'delFlag',
      span: 12
    },
    {
      type: 'input',
      label: '租户ID',
      prop: 'tenantId',
      span: 12
    },
    {
      type: 'input',
      label: '创建人所属OU的全称',
      prop: 'deptFullname',
      span: 12
    },
    {
      type: 'input',
      label: '创建人所属OU的ID',
      prop: 'deptId',
      span: 12
    },
    {
      type: 'input',
      label: '创建时间',
      prop: 'createTime',
      span: 12
    },
    {
      type: 'input',
      label: '批次号',
      prop: 'batchnumber',
      span: 12
    },
    {
      type: 'input',
      label: '资产分类全编码',
      prop: 'classifiedCode',
      span: 12
    },
    {
      type: 'input',
      label: '资产分类全名称',
      prop: 'classified',
      span: 12
    },
    {
      type: 'input',
      label: '资产分类名称',
      prop: 'ctiName',
      span: 12
    },
    {
      type: 'input',
      label: '资产分类ID',
      prop: 'ctiId',
      span: 12
    },
    {
      type: 'input',
      label: '照片',
      prop: 'picture',
      span: 12
    },
    {
      type: 'input',
      label: '条形码',
      prop: 'barcode',
      span: 12
    },
    {
      type: 'input',
      label: '名称',
      prop: 'name',
      span: 12
    },
    {
      type: 'input',
      label: '规格型号',
      prop: 'model',
      span: 12
    },
    {
      type: 'input',
      label: '计量单位',
      prop: 'unit',
      span: 12
    },
    {
      type: 'input',
      label: '单价',
      prop: 'price',
      span: 12
    },
    {
      type: 'input',
      label: '总价',
      prop: 'amount',
      span: 12
    },
    {
      type: 'input',
      label: '合同或发票ID',
      prop: 'contractId',
      span: 12
    },
    {
      type: 'input',
      label: '合同或发票编号',
      prop: 'contractNumber',
      span: 12
    },
    {
      type: 'input',
      label: '合同或发票名称',
      prop: 'contractName',
      span: 12
    },
    {
      type: 'input',
      label: '供应商ID',
      prop: 'supplierId',
      span: 12
    },
    {
      type: 'input',
      label: '供应商名称',
      prop: 'supplierName',
      span: 12
    },
    {
      type: 'input',
      label: '存放房间名称',
      prop: 'houseName',
      span: 12
    },
    {
      type: 'input',
      label: '存放房间ID',
      prop: 'houseId',
      span: 12
    },
    {
      type: 'input',
      label: '存放位置名称',
      prop: 'locationName',
      span: 12
    },
    {
      type: 'input',
      label: '存放位置id',
      prop: 'locationId',
      span: 12
    },
    {
      type: 'input',
      label: '存放地点全名称',
      prop: 'fullLocation',
      span: 12
    },
    {
      type: 'input',
      label: '采购方式01：邀标、02：自采:03：政府采购',
      prop: 'method',
      span: 12
    },
    {
      type: 'input',
      label: '详细配置',
      prop: 'detailed',
      span: 12
    },
    {
      type: 'input',
      label: '申请数量',
      prop: 'quantity',
      span: 12
    },
    {
      type: 'input',
      label: '订购数量',
      prop: 'orderQuantity',
      span: 12
    },
    {
      type: 'input',
      label: '已采购数量',
      prop: 'purchasedQuantity',
      span: 12
    },
    {
      type: 'input',
      label: '已到货数量',
      prop: 'arrivedQuantity',
      span: 12
    },
    {
      type: 'input',
      label: '备注',
      prop: 'remarks',
      span: 12
    }
  ]
}
